home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 13
/
boot-disc-1997-09.iso
/
HyprWire
/
DATA.Z
/
03 TextField.mdf
< prev
next >
Wrap
Text File
|
1997-01-21
|
8KB
|
334 lines
kxKinetix
kxType = kxSmalltalkJavaPlugIn
kxModuleDefinition TextField =
{
kxPublicName = "Text Field"
kxVersion = "1.0"
kxCreationTime = "02/18/96 12:26:15 PM"
kxAuthor = "Kinetix"
kxLargeIcon = kxBmResType "ModIcons.dll" "DTEN02" 0xFF00FF
kxSmallIcon = kxBmResType "ModIcons.dll" "DTEN01" 0xFF00FF
kxSmalltalkLibraries = "widgets"
kxSmalltalkProxyClass = DEBundle
kxFlags = kxEmbeddedWindow
kxShortDescription = "TextField widget which presents the user with a single editable line of text."
// kxHelpDoc = "http://www.hyperwire.com/helpdocs/Widgets/TextField/help.html"
// The Java class which implements the plug-in...
kxPlugInClass = TextFieldPlugIn
// The Smalltalk editor classes used to edit the properties of this plug-in...
kxPropertyEditors = DataEntryEditor OpusLabelCommentEditor ModuleStateEditor SizePositionEditor OpusColorEditor PortEditor
// The Smalltalk class which will draw the layout view representation for this plug-in...
kxLayoutViewProxyClass = DataEntryAuthorRep
kxInputPorts =
{
kxInclude "Basic.ipt"
kxInclude "VisualBasicCommon.ipt"
kxPort MakeClickable =
{
kxFlags = kxSystem
kxJavaMethod = wiMakeClickable
kxJavaSignature = "()Z"
kxPublicNames = "Make Clickable" "Was UnClickable"
}
kxPort MakeUnClickable =
{
kxFlags = kxSystem
kxJavaMethod = wiMakeUnClickable
kxJavaSignature = "()Z"
kxPublicNames = "Make UnClickable" "Was Clickable"
}
kxPort MakeEditable =
{
kxJavaMethod = wiMakeEditable
kxJavaSignature = "()Z"
kxPublicNames = "Make Editable" "Was UnEditable"
}
kxPort MakeUnEditable =
{
kxJavaMethod = wiMakeUnEditable
kxJavaSignature = "()Z"
kxPublicNames = "Make UnEditable" "Was Editable"
}
kxPort SelectAll =
{
kxJavaMethod = wiSelectAll
kxJavaSignature = "()Z"
kxPublicNames = "Select All" "Is TextField valid"
}
kxPort SetSelection =
{
kxJavaMethod = wiSetSelection
kxJavaSignature = "(LPoint;)Z"
kxPublicNames = "Set Selection" "a caret position or range (aPoint)" "Is TextField Valid"
}
kxPort GetSelection =
{
kxJavaMethod = wiGetSelection
kxJavaSignature = "()LPoint"
kxPublicNames = "Get Selection" "Selection start,end"
}
kxPort GetSelectedText =
{
kxJavaMethod = wiGetSelectedText
kxJavaSignature = "()LString"
kxPublicNames = "Get Selected Text" "Selected Text String"
}
kxPort SetFocusandEnable =
{
kxJavaMethod = wiEnableAndSetFocus
kxJavaSignature = "()Z"
kxPublicNames = "Set Focus and Enable" "Was TextField Not Focussed"
}
kxPort SetFocus =
{
kxJavaMethod = wiSetFocus
kxJavaSignature = "()Z"
kxPublicNames = "Set Focus" "Was TextField Not Focussed"
}
kxPort LoseFocus =
{
kxJavaMethod = wiKillFocus
kxJavaSignature = "()Z"
kxPublicNames = "Lose Focus" "Was TextField Focussed"
}
kxPort GetLength =
{
kxJavaMethod = wiGetTextLength
kxJavaSignature = "()I"
kxPublicNames = "Get Length" "Text Length"
}
kxPort GetLastKeystroke =
{
kxJavaMethod = wiGetLastKeystroke
kxJavaSignature = "()LString"
kxPublicNames = "Get Last Keystroke" "Last Character as String"
}
kxInclude "BackAndForeColor.ipt"
kxPort GetText =
{
kxJavaMethod = wiGetText
kxJavaSignature = "()LString"
kxPublicNames = "Get Text" "Text String"
}
kxPort SetText =
{
kxJavaMethod = wiSetText
kxJavaSignature = "(LString;)LString"
kxPublicNames = "Set Text" "string" "Old Text String"
}
kxPort GetEchoCharacter =
{
kxJavaMethod = wiGetEchoCharacter
kxJavaSignature = "()LString"
kxPublicNames = "Get Echo Character" "Echo Character"
}
kxPort SetEchoCharacter =
{
kxJavaMethod = wiSetEchoCharacter
kxJavaSignature = "(LString;)LString"
kxPublicNames = "Set Echo Character" "Echo Character" "Old Echo Character"
}
kxPort SetFilteredCharacter =
{
kxJavaMethod = wiSetFilteredCharacter
kxJavaSignature = "(LString;)LString"
kxPublicNames = "Set Filtered Character" "Filtered Character" "Old Filtered Character"
}
kxPort ClearText =
{
kxJavaMethod = wiClearText
kxJavaSignature = "()Z"
kxPublicNames = "Clear Data" "true"
}
kxPort Enable =
{
kxJavaMethod = wiEnable
kxJavaSignature = "()Z"
kxPublicNames = "Enable" "Was not Enabled"
}
kxPort IsDisabled =
{
kxJavaMethod = wiIsDisabled
kxJavaSignature = "()Z"
kxPublicNames = "Is Disabled?" "Is Disabled"
}
kxPort Disable =
{
kxJavaMethod = wiDisable
kxJavaSignature = "()Z"
kxPublicNames = "Disable" "Was not Disabled"
}
}
kxInputPortsMenu =
{
Reset
On
Off
Toggle
kxSeparator
Enable
Disable
kxSeparator
SetText
SetFocus
SelectAll
GetText
kxMenu "More" =
{
kxInclude "Basic.imn"
kxMenu "Position"
{
kxInclude "PositionBasic.imn"
}
kxInclude "Size.imn"
kxInclude "Visibility.imn"
kxInclude "BackAndForeColor.imn"
kxMenu "State" =
{
MakeClickable
MakeEditable
kxSeparator
MakeUnClickable
MakeUnEditable
}
kxSeparator
kxMenu "Data Entry" =
{
GetText
GetLastKeystroke
GetEchoCharacter
GetLength
kxSeparator
SetText
SetEchoCharacter
SetFilteredCharacter
ClearText
}
kxMenu "Focus" =
{
LoseFocus
SetFocus
SetFocusandEnable
}
kxMenu "Selection" =
{
GetSelectedText
GetSelection
kxSeparator
SetSelection
SelectAll
}
}
}
kxOutputPorts =
{
kxInclude "MouseEvt.opt"
kxInclude "SizePos.opt"
kxPort CarriageReturn =
{
kxJavaSignature = "(LHwObject;)V"
kxPublicNames = "Carriage Return" "text string" "Not Specified"
}
kxPort EscapeCharacter =
{
kxJavaSignature = "(LHwObject;)V"
kxPublicNames = "Escape Character" "text string" "Not Specified"
}
kxPort TabCharacter =
{
kxJavaSignature = "(LHwObject;)V"
kxPublicNames = "Tab Character" "text string" "Not Specified"
}
kxPort CharacterEntered =
{
kxJavaSignature = "(LHwObject;)V"
kxPublicNames = "Character Entered" "keystroke string" "Not Specified"
}
kxPort CharacterDisplayed =
{
kxJavaSignature = "(LHwObject;)V"
kxPublicNames = "Character Displayed" "keystroke echo string" "Not Specified"
}
kxPort GettingFocus =
{
kxJavaSignature = "()V"
kxPublicNames = "Getting Focus" "Not Specified"
}
kxPort LosingFocus =
{
kxJavaSignature = "()V"
kxPublicNames = "Losing Focus" "Not Specified"
}
}
kxOutputPortsMenu =
{
CarriageReturn
EscapeCharacter
CharacterDisplayed
kxSeparator
kxMenu "Mouse Events" =
{
// ButtonUp
// ButtonDown
// kxSeparator
MouseEnter
MouseLeave
}
// kxMenu "Focus Events" =
// {
// GettingFocus
// LosingFocus
// }
kxInclude "SizePos.omn"
kxSeparator
kxMenu "Data Entry" =
{
CarriageReturn
EscapeCharacter
TabCharacter
CharacterEntered
CharacterDisplayed
}
}
}